export function getHeadStyle(): string {
  const { statusBarHeight } = uni.getWindowInfo();
  const { top, bottom } = uni.getMenuButtonBoundingClientRect();
  const style = {
    "padding-top": `${statusBarHeight}px`,
    height: `${top - statusBarHeight + bottom}px`,
  };
  return Object.entries(style)
    .map(([k, v]) => `${k}:${v}`)
    .join(";");
}
